simple lock meaning in English
单闸门
Examples
- Because every object has a lock , we can use dummy objects as simple locks , as shown here
由于每个对象都有锁,可以如下所示使用虚拟对象来上锁: - It is a simple lock with only the thread that owns the lock being able to release the mutex
它是一个简单的锁,只有持有它的线程才可以释放那个互斥。 - Implemented on top of simple locks , a semaphore is a thread - safe counter initialized to the number of resources available for use
信号量是在简单上锁的基础上实现的,相当于能令线程安全执行,并初始化为可用资源个数的计数器。 - At last , a simple lock technique is implemented to synchronize network file operations . the testing approved that the design function is satisfactory and the server achieves high performance
通过对局域网分布存储系统interstorage的功能和性能测试,表明该系统实现了设计目标并具有较高的性能。 - Interlocked operations can be used with volatile memory guarantees to write applications which exhibit powerful non - blocking concurrency , however they require sophisticated , low level programming , and for most purposes simple locks are a better choice
联锁操作可用于可变内存保证,以编写展示功能强大的非阻止并发的应用程序,但是,它们需要复杂的低级别编程,因此大多数情况下简单锁是更好的选择。